package vip.xiaonuo.biz.modular.iot.result;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class VideoEventStreamVO {
    private List<Video> videoList;
    private List<Event> eventList;

    @Data
    public static class Video {
        private String videoCode;
        private String videoName;
        private String videoUrl;
    }

    @Data
    public static class Event {
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        private Date time;
        private String title;
        private String value;
    }
}
